//TODO 需求管理
type T = any;

//* 添加需求接口请求参数类型
export interface addRequirementFrom {
  thisMonthReqirement?: any;
  requirementRelevances?: string;
  requirementCreateName?: string;
  requirementName: string;
  requirementContent: string;
  beginTime: any;
  endTime: any;
  planBeginTime: any;
  truthBeginTime: any;
  truthEndTime: any;
  truthOnlineTime: any;
  requirementVersion: string;
  requirementMark?: number;
  projectid: number | null;
}
//* 添加需求接口响应数据类型
export interface addRequirementData {
  code: number;
  data: object;
  msg: string;
}
//* 修改接口
export interface updateRequirementForm {
  requirementRelevances?: string;
  requirementCreateName?: string;
  requirementName: string;
  requirementContent: string;
  beginTime: any;
  endTime: any;
  planBeginTime: any;
  truthBeginTime: any;
  truthEndTime: any;
  truthOnlineTime: any;
  requirementVersion: string;
  requirementMark?: number;
  projectid: number;
  id: number;
}
export interface updateRequirementData {
  code: number;
  data: object;
  msg: string;
}
// 根据 id 获取需求信息
export interface getRequirementForm {
  id: number;
}

// 根据 id 获取wiki信息
export interface getWikiMsg {
  id: number;
}
export interface getRequirementData {
  code: number;
  data: any;
  msg: string;
}

// 根据ID获取测试用例
export interface getRequirementCaseForm {
  id: any;
  page: number;
  pageSize: number;
}

export interface getRequirementCaseData {
  code: number;
  data: {
    list: Array<T>;
    total: number;
    page: number;
    pageSize: number;
  };
  msg: string;
}

// 修改用例
export interface putEditeCaseByidData {
  code: number;
  data: object;
  msg: string;
}

// // 导出wikis请求参数类型
// export interface postExpotWikisForm {
//   itemItemId: number | null,
//   sysUserId: number,
//   isTrue: boolean | null,
//   itemWIKITypeId: number | null,
//   problemMsg: string,
//   beginDate: string,
//   endDate: string
// }
